-
Notifications
You must be signed in to change notification settings - Fork 820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: upgrade proxy-agent to ^6.3.0 to remove vm2 deps #13012
Conversation
yarn.lock
Outdated
@@ -31455,18 +31474,6 @@ node-pty@beta: | |||
languageName: node | |||
linkType: hard | |||
|
|||
"vm2@npm:^3.9.3": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vm2 removal is here
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## dev #13012 +/- ##
===========================================
+ Coverage 0.00% 48.40% +48.40%
===========================================
Files 1296 841 -455
Lines 149743 38033 -111710
Branches 1296 7789 +6493
===========================================
+ Hits 0 18408 +18408
+ Misses 148447 18032 -130415
- Partials 1296 1593 +297
... and 1229 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Description of changes
E2e run https://tiny.amazon.com/1gmqt246c/IsenLink
This removes the last of the vm2 dependencies by upgrading proxy-agent.
Proxy agent constructor has changed since v5, so there were updates as well.
See proxy-agent docs here: https://github.com/TooTallNate/proxy-agents/tree/main/packages/proxy-agent
Proxy-agent uses this module to determine which proxy to use, so we don't need to manually specify http/https anymore, see:
https://www.npmjs.com/package/proxy-from-env
https://www.npmjs.com/package/proxy-from-env#environment-variables
We do still need to conditionally check if proxy vars are set to decide if we want to initialize a new proxyagent.
Issue #, if available
Description of how you validated changes
Checklist
yarn test
passesBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.